function submitButton(){
	var inputs = document.getElementsByTagName('input');
	var boll = true;
		
	for (var i = 0; i < inputs.length; i += 1) {
		if(inputs[i].value == ''){
			var el = document.getElementById("praznaPolja");
			el.style.visibility="visible";
    	        
			var el2 = document.getElementById(inputs[i].id + "P");
			el2.style.color="red";
			boll = false;
		}
	};
		
	return boll;
}